package com.example.kafka.holder;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.function.BiConsumer;

/**
 * @param <D>
 * @param <T>
 * @author lingGao
 */
@Getter
@AllArgsConstructor
public class SetMethodHolder<D, T> {

    private BiConsumer<D, T> set;
    private Class<T> targetType;

}